package com.example.bilibili_miaosha.service;

import com.example.bilibili_miaosha.entity.Goods;
import com.example.bilibili_miaosha.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bilibili_miaosha.entity.User;
import com.example.bilibili_miaosha.vo.OrderDetailVo;

/**
 * <p>
 *  服务类
 * </p>
 *
* 弓川hello mybatisplus
 * @author gongchuan
 * @since 2022-04-01
 */
public interface IOrderService extends IService<Order> {

    Order seckill(User user, Goods goods);

    OrderDetailVo detail(Long orderId);

    boolean checkCaptcha(User user, Long goodsId, String captcha);

    String createPath(User user, Long goodsId);
}
